package com.shiwaixiangcun.monitor.service;

import com.shiwaixiangcun.core.plugin.service.BaseTreeableService;
import com.shiwaixiangcun.monitor.domain.WorkOrderCategory;

/**
 * Created by Administrator on 2017-11-23.
 */
public interface WorkOrderCategoryService extends BaseTreeableService<WorkOrderCategory, Long> {
    void addWorkOrderCategory(String name, Long parentId);

    void removeWorkOrderCategory(Long id);

    WorkOrderCategory findByParentId(long l);
}
